package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/6/29.
 */

public class ShouquanBean {


    /**
     * code : 200
     * message : 数据加载成功!
     * data : {"total":3,"per_page":15,"current_page":1,"data":[{"id":37,"avatar":"/uploads/avatar/5927df4f8d84e.png","name":"","totalmoney":0,"commissionmoney":0,"authorize":2,"authorizename":""},{"id":38,"avatar":"/uploads/avatar/5927df4f8d84e.png","name":"","totalmoney":0,"commissionmoney":0,"authorize":2,"authorizename":""},{"id":39,"avatar":"/uploads/avatar/5927df4f8d84e.png","name":"","totalmoney":0,"commissionmoney":0,"authorize":2,"authorizename":""}]}
     */

    private int code;
    private String message;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * total : 3
         * per_page : 15
         * current_page : 1
         * data : [{"id":37,"avatar":"/uploads/avatar/5927df4f8d84e.png","name":"","totalmoney":0,"commissionmoney":0,"authorize":2,"authorizename":""},{"id":38,"avatar":"/uploads/avatar/5927df4f8d84e.png","name":"","totalmoney":0,"commissionmoney":0,"authorize":2,"authorizename":""},{"id":39,"avatar":"/uploads/avatar/5927df4f8d84e.png","name":"","totalmoney":0,"commissionmoney":0,"authorize":2,"authorizename":""}]
         */

        private int total;
        private int per_page;
        private int current_page;
        private List<DataBean> data;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * id : 37
             * avatar : /uploads/avatar/5927df4f8d84e.png
             * name :
             * totalmoney : 0
             * commissionmoney : 0
             * authorize : 2
             * authorizename :
             */

            private int id;
            private String avatar;
            private String name;
            private int totalmoney;
            private int commissionmoney;
            private int authorize;
            private String authorizename;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getTotalmoney() {
                return totalmoney;
            }

            public void setTotalmoney(int totalmoney) {
                this.totalmoney = totalmoney;
            }

            public int getCommissionmoney() {
                return commissionmoney;
            }

            public void setCommissionmoney(int commissionmoney) {
                this.commissionmoney = commissionmoney;
            }

            public int getAuthorize() {
                return authorize;
            }

            public void setAuthorize(int authorize) {
                this.authorize = authorize;
            }

            public String getAuthorizename() {
                return authorizename;
            }

            public void setAuthorizename(String authorizename) {
                this.authorizename = authorizename;
            }
        }
    }
}
